package com.wesh.home.service;

import com.wesh.home.config.OpenFeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "user-server", path = "/user", configuration = OpenFeignConfig.class)
public interface MessageService {

    @RequestMapping(value = "uMessages", method = RequestMethod.GET)
    String list();

}
